package com.example.three.Mapper.ShopUserMapper;

import com.example.three.DO.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface UserMapper {

    SysUser findBy(String userid);

    ArrayList<SysUser> findAll();

    int addBy(String userid,long poseid,String username,String password,String usertype,String email,
              String phonenumber,String sex,String status,java.sql.Timestamp createTime);

    int updatepassword(String shopid,String password);

    void updateinformation(String shopid,String username,String phonenumber,String email,String sex);
}
